/*
 * @name: 
 * @version: 1.1.1
 * @Author: 刘大可
 * @Date: 2022-10-26 14:51:26
 * @LastEditors: 刘大可
 * @LastEditTime: 2022-10-26 16:43:22
 */
module.exports = {
    isLoading: false,
    start(){
        this.isLoading=true
        uni.showLoading({
            title: "正在加载...",
            mask: true,
        });
    },
    end(){
        uni.stopPullDownRefresh()
        uni.hideLoading()
        console.log(this.isLoading);
        if (this.isLoading) {
            // uni.showToast({
            //     title: '下拉加载成功',
            //     icon: 'success',
            //     mask: true
            // })
            this.isLoading = false
        }
    }
}